﻿using Jinjia.Approve.Model.VM.JJFlow;
using System.Collections.Generic;

namespace Jinjia.Approve.Model.VM
{
    public class JJFlowBPMUserTaskVM : JJFlowBPMBaseVM
    {
        /// <summary>
        /// 节点审批类型
        /// </summary>
        public List<int> action { get; set; }

        /// <summary>
        /// 完成策略
        /// </summary>
        public int signType { get; set; }

        #region 审核人员类型

        /// <summary>
        /// 审核人员类型
        /// </summary>
        public int power_type { get; set; }

        /// <summary>
        /// 角色
        /// </summary>
        public List<string> roleIdList { get; set; }

        /// <summary>
        /// 指定人员列表
        /// </summary>
        public List<int> userIdList { get; set; }

        /// <summary>
        /// 方法名称
        /// 前端指定人员
        /// </summary>
        public string assigneeField { get; set; }

        /// <summary>
        /// 组织架构等级
        /// </summary>
        public string orgLevel { get; set; }

        #endregion

        /// <summary>
        /// 相邻节点自动审批 0：否；1：是
        /// </summary>
        public int auto_approve { get; set; }

        /// <summary>
        /// 同意规则
        /// </summary>
        public string approve_rule { get; set; }

        /// <summary>
        /// 驳回规则
        /// </summary>
        public string reject_rule { get; set; }
    }
}